<?php



namespace addon\hotel\event;

use \addon\hotel\model\HotelSettlement as HotelSettlementModel;
use Carbon\Carbon;

/**
 * 分站结算
 */
class HotelSettlement
{
    // 行为扩展的执行入口必须是run
    public function handle($data)
    {
        $model = new HotelSettlementModel();
        //$time = Carbon::today()->timestamp+60*30;
        $time = Carbon::today()->timestamp;
        $res = $model->shopSettlement($time);

        return $res;
    }

}